(trivially) stricter internal checking.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 31 Aug 2004 20:47:15 +0000 (20:47 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 31 Aug 2004 20:47:15 +0000 (20:47 +0000)
gpsbabel/sort.c

index 446688ea319384c61b01ffbae53be63123a7c0c4..9a9a6b345b8b49527e7430c3cedcb06462b839f3 100644 (file)
@@ -51,6 +51,7 @@ sort_comp(const void * a, const void * b)
           case sm_gcid: return x1->gc_data.id > x2->gc_data.id;
           case sm_shortname: return strcmp (x1->shortname, x2->shortname);
           case sm_description: return strcmp (x1->description, x2->description);
+          default: abort(); /* Internal caller error. */
        }
 }